﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace yafc.Interface
{
	public class Post
	{
		public string id;
		public string userId;
		public string name;
		public DateTime timestamp;
		public string text;

		// 以下是用户信息，不知道有没有微博的用户信息不随post一同返回的，如果有再做修改
		public string avatar;
		public User user;					// If posts are returned with user info, fill this.

		public override string ToString()
		{
			return "@" + name + " " + text;
		}
	}
}
